package com.xuecheng.content.service;

import com.xuecheng.content.dto.AddCourseTeacher;
import com.xuecheng.content.entity.CourseTeacher;

import java.util.List;

public interface CourseTeacherService {

    /**
     * 根据课程id查询师资信息接口
     * @param courseId
     * @return
     */
    public List<CourseTeacher> findCourseTeacherByCourseId(Long courseId);


    /**
     * 添加教师接口
     * @param addCourseTeacher
     * @return
     */
    public List<CourseTeacher> insertTeacher(AddCourseTeacher addCourseTeacher);


    /**
     * 修改教师信息接口
     * @param courseTeacher
     * @return
     */
    public List<CourseTeacher> updateTeacher(CourseTeacher courseTeacher);


    /**
     * 删除教师信息接口
     * @param id
     */
    public void deleteTeacher(Long courseId, Long id);

}
